package com.example.myfirst.service;


import com.example.myfirst.entity.Shops;

import java.util.List;

/**
 * 店家表(Shops)表服务接口
 *
 * @author makejava
 * @since 2023-12-12 16:44:52
 */
public interface ShopsService {
    // 查询所有店铺
    List<Shops> queryAllShops();

    // 增加店铺
    boolean addShop(Shops shops);

    // 删除店铺
    boolean delShopById(Integer id);

    // 根据id获取店铺信息
    List<Shops> findShopById(Integer id);

    // 根据id修改数据
    Boolean updateShopById(Shops shops,Integer id);
}

